package com.oc.mba.util;

public class Pagination {

	private int	pageNo;

	private int	pageSize;

	private int	totalPage;

	private int	previoustIndex;

	private int	nextIndex;

	private int	endPageStartIndex;

	private int	totalNum;

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getEndPageStartIndex() {
		return endPageStartIndex;
	}

	public void setEndPageStartIndex(int endPageStartIndex) {
		this.endPageStartIndex = endPageStartIndex;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public int getNextIndex() {
		return nextIndex;
	}

	public void setNextIndex(int nextIndex) {
		this.nextIndex = nextIndex;
	}

	public int getPrevioustIndex() {
		return previoustIndex;
	}

	public void setPrevioustIndex(int previoustIndex) {
		this.previoustIndex = previoustIndex;
	}

	public String toString() {
		return "第" + pageNo + "页,共" + totalPage + "页";
	}
}
